/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { SseEmitter } from "../models/SseEmitter";
import type { CancelablePromise } from "../core/CancelablePromise";
import { OpenAPI } from "../core/OpenAPI";
import { request as __request } from "../core/request";

export class SseControllerService {
  /**
   * @returns SseEmitter OK
   * @throws ApiError
   */
  public static subscribe(): CancelablePromise<SseEmitter> {
    return __request(OpenAPI, {
      method: "GET",
      url: "/sse/subscribe"
    });
  }
}
